< previous page page_961 next page >

Page 961
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Drop the Name field in the detail band. Next, select Database | Visual Linking Expert. Create the link between the Publisher Comments and the Publishers tables on the PubID field, if it is not already done.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Select Sort Records from the Report menu. Double-click the Name field and set the sort direction to descending.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Select Text Field from the Insert menu. Enter Comments on Publishers as the title text and then select Accept. Drop the field in the middle of the page header band. Select Format | Font and then select Arial, 14 point bold, and press OK.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· To insert the count of the records, select the PubID field and then choose Grand Total from the Insert menu. Select Count from the combo box that appears and then press OK.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Select Insert | Special Field | Page Number Field and drop the field in the page footer band of the report.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Select Special Field | Print Date Field from the Insert menu. Drop the field in the page footer band of the report.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Print the report by selecting Print | Printer from the File menu.
e7ae6bd512ad4c3583017fcda52f57ae.gif
· Print the report definition by selecting Print | Report Definition from the File menu.
Day 7
Answers to Day 7 Quiz
1. The Visdata project can be found in the Samples\Visdata subdirectory of Visual Basic 5.
2. To copy a table, simply select the table from the Table/Queries window, press the alternate mouse button, and select Copy Structure.
3. You need to Refresh the Tables/Queries window each time you enter an SQL statement to create a new table.
4. You can open and edit Excel spreadsheets in Visdata.
5. The Properties object in the Database window shows the complete name and path of the database, the version of the database engine in use, the connect property, the login time-out, the Microsoft Access version, the replica ID, and several other update settings.
6. You compact databases to remove empty spaces where deleted records used to reside, and to reorganize any defined indexes that are stored in the database.

 
< previous page page_961 next page >

If you like this book, buy it!